/*
 * defines.h
 *
 *  Created on: Jun 9, 2010
 *      Author: iandrono
 */

#ifndef DEFINES_H_
#define DEFINES_H_

	#define WITH_ACEL 1

	//Defines varios
	#define DATA_SIZE 6
	#define BYTE_SIZE 8
	#define PACKET_SIZE 8

	//Maximos:
	#define LEDS_Q_MAX 16
	#define COLORS_Q_MAX 3
	#define ROWS_Q_MAX 20

	//Globales:
	volatile int ROWS_Q;

	//Typedefs:
	typedef unsigned char imageType[COLORS_Q_MAX][ROWS_Q_MAX][LEDS_Q_MAX/BYTE_SIZE];
	typedef enum {FALSE=0, TRUE=1} booleanType;
	typedef enum {RED=0, GREEN, BLUE} colorType;
	typedef enum {END_DATA=1, STATIC_IMAGE, SET_TIMERCOUNTER, SET_ROWSQ} operationType;

	#define INIT_DELAYMS 24;

#endif /* DEFINES_H_ */
